<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改产品补助金申请记录')" />
    <th:block th:include="include :: datetimepicker-css" />
    <th:block th:include="include :: bootstrap-fileinput-css"/>
</head>
<body class="white-bg" style="width: 500px; height: 500px;background:url(/img/qr_code_back.png) no-repeat center fixed;background-size:500px 500px;  ">
    <input id="qrcode" name="qrcode" th:value="*{qrcode}" type="hidden">
    <div id="qrcodeImg" style="width:300px; height:300px; padding-top: 80px;padding-left: 250px;"></div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <th:block th:include="include :: bootstrap-fileinput-js"/>
    <script th:src="@{/js/qrcode.min.js}"></script>
    <script th:inline="javascript">
        var prefix = ctx + "zsyh/partsQrcodeApply";
        $("#form-partsQrcodeApply-edit").validate({
            focusCleanup: true
        });

        var qrcode = new QRCode(document.getElementById("qrcodeImg"), {
            width : 300,
            height : 300
        });

        $(document).ready(function () {
            var value = "https://xcx.zzzsyh.com/index.html?qrcode="+$("#qrcode").val();
            qrcode.makeCode(value);
        })

    </script>
</body>
</html>